#ifndef __KSVGEDITOR_CORE_KELLIPSESHAPE_H_
#define __KSVGEDITOR_CORE_KELLIPSESHAPE_H_

#include <QPainter>
#include "kshape.h"


class KEllipseShape : public KShape
{
public:
    explicit KEllipseShape(QGraphicsItem* parent = nullptr);
    ~KEllipseShape() override;
    KShapeType getShapeType() const override;
    void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override;

    QDomElement toSvgElement(QDomDocument& doc) const override;
    void loadFromSvgElement(const QDomElement& elem) override;
    void refreshTransformInfoFromRect() override;

    std::unique_ptr<KExportShape> clone() const override;


protected:

private:

};
#endif //__KSVGEDITOR_CORE_KELLIPSESHAPE_H_